﻿//
// Created by QU on 24-9-28.
//

#include "server/logic/LogicNode.h"

LogicNode::LogicNode(std::shared_ptr<Session> session, std::shared_ptr<Node> node)
    : m_session_p(std::move(session)), m_node_p(std::move(node))
{

}

auto LogicNode::getSession() -> std::shared_ptr<Session>
{
    return m_session_p;
}

auto LogicNode::getNode() -> std::shared_ptr<Node>
{
    return m_node_p;
}
